package cn.edu.lsu.integratedsurvey.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 登录DTO对象
 *
 * @author Jasmine-drs
 * @date 2024/5/1 11:23
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginDto {
	@NotNull(message="[账号]不能为空")
	@ApiModelProperty("账号")
	private String account;
	@NotNull(message="[密码]不能为空")
	@ApiModelProperty("密码")
	private String password;
}
